#include <iostream>
#include <vector>
#include <algorithm>

int main(int argc, char** argv) {

  std::vector<int>  num_vec1;
  for (int i = 0; i < 1000; i++) {
    num_vec1.push_back(i);
  }

  std::cout << "num_vec1 size(): " << num_vec1.size() << std::endl;
  std::cout << "num_vec1 capity()" << num_vec1.capacity() << std::endl;
  int numsize = 0;
  for (auto data : num_vec1) {
    // std::cout << data << " ";
    numsize++;
  }
  // std::cout << std::endl;

  std::cout << "numsize: " << numsize << std::endl;
  std::cout << "erase test" << std::endl;
  num_vec1.erase(num_vec1.begin(), num_vec1.begin()+numsize);
  std::cout << "num_vec1 size(): " << num_vec1.size() << std::endl;
  std::cout << "num_vec1 capity()" << num_vec1.capacity() << std::endl;
  // for (auto data : num_vec1) {
  //   std::cout << data << " ";
  // }
  // std::cout << std::endl;

  return 0;
}